<template>
  <div>
    <el-page-header class="back" @back="goBack" :content="content"></el-page-header>
  </div>
</template>

<script>
  export default {
    name: "wj-page-back",
    props: {
      content: {
        type: String,
        required: true
      }
    },
    methods: {
      goBack() {
        this.$router.go(-1);
      }
    }
  }
</script>

<style scoped>
  .back {
    padding: 15px 0;
    font-size: 14px;
  }
</style>